#ifndef FOLDERLIST_H
#define FOLDERLIST_H

#include <QDir>
#include <QMutex>
#include <QThread>
#include <QWaitCondition>
#include <Maestro/mcplugins.h>
#include <Maestro/database.h>
#include <QSqlQuery>
#include <QSqlQueryModel>
#include <phonon>
#include <QWidget>
#include "mediachecker.h"
#include "fileselector.h"
#include "keycontrollablemenu.h"

/**
  *
  */
namespace Ui {
    class FolderList;
}

class FolderList : public KeyControllableMenu {
    Q_OBJECT
public:
    FolderList(QWidget *parent = 0, FileSelector *fs = 0);
    ~FolderList();
public slots:
    void buttonSelected();
    void reloadFolders();
    void reshowComponents();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::FolderList *ui;
    FileSelector *fs;
};

#endif // FOLDERLIST_H
